<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >轮播列表</a></li>
			<li><a href="{:U('Video/addcarousel')}">轮播添加</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="{:U('Video/index')}">
			<div class="table-actions">
			</div>
		
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="center">轮播ID</th>
						<th>轮播封面</th>
						<th>轮播链接</th>
						<th>轮播位置</th>
						<th>更新时间</th>
						<th align="center">{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>
						<td align="center">{$vo.id}</td>
						<td><a href="{$vo['thumb2']}" target="_blank"><img width="30" height="30" src="{$vo['thumb2']}" /></td>
						<td>{$vo['video_name']}</td>
						<td>{$vo['type_txt']}</td>
						<td>{$vo.uptime|date="Y-m-d H:i:s",###}</td>

						<td align="center">
							<a href="{:U('Video/edit_carousel',array('id'=>$vo['id']))}" >编辑</a> |
							  <a href="{:U('Video/delcarousel',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗？">删除</a>

						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>

		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>